﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace myCommon.Utils
{
    public static class FileUtils
    {
        public static string FileRead(string txtFileName)
        {
            System.IO.FileInfo file = new FileInfo(txtFileName);
            if (file.Exists)
            {
                return File.ReadAllText(txtFileName);
            }
            else
            {
                return "";
            }
        }
    }
}
